﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.ksd.Test
{
    //抽象建造者，提供不同电脑配置的接口
    abstract class Builder
    {
        //组装CPU
        public abstract void BuildPartCPU();

        //组装主板
        public abstract void BuildPartMainBoard();

        //得到完整的产品
        public abstract computer GetComputer();
    }
}
